import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import Exception from '@/components/Exception';

class Exception403 extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  componentDidMount() {}

  render() {
    const { intl } = this.props;
    return (
      <Exception
        type="403"
        desc={intl.formatMessage({ id: 'app.exception.description.403' })}
        linkElement={Link}
        backText={intl.formatMessage({ id: 'app.exception.back' })}
      />
    );
  }
}

export default Exception403;
